home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 223_01 / pad.c < prev    next >
Text File  |  1980-01-01  |  384b  |  9 lines

  1. #define NOCCARGC  /* no argument count passing */
  2. /*
  3. ** Place n occurrences of ch at dest.
  4. */
  5. pad(dest, ch, n) char *dest, *n; int ch; {
  6.   /* n is a fake unsigned integer */
  7.   while(n--) *dest++ = ch;
  8.   }
  9.